package com.trust.entity.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ccc
 * @desc
 * @since 2023/11/14 10:14
 */
@Data
@NoArgsConstructor
@ApiModel("数据字典vo")
public class DictionaryVO {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("状态")
    private Integer enabled;

    @ApiModelProperty("父id")
    private Integer parentId;

    public DictionaryVO(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
